package com.mmd.admin.model.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mmd.base.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 权限角色绑定表
 * </p>
 *
 * @author ${author}
 * @since 2023-05-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("life_serve_binding_rule")
@ApiModel(value="BindingRule对象", description="权限角色绑定表")
public class BindingRule extends BaseEntity<BindingRule> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id 系统生成")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "角色id")
    private Long roleId;

    @ApiModelProperty(value = "权限id")
    private Long ruleId;

}
